package com.lry.crawlers.fiction.service;

import com.lry.crawlers.fiction.entity.FictionChapter;
import com.lry.crawlers.fiction.entity.FictionChapter;

import java.util.List;

public interface FictionChapterService {
    int setFictionChapter(FictionChapter fictionChapter);

    int setFictionChapters(List<FictionChapter> fictionChapters);

    String getChapterPath(String chapterId);

    List<FictionChapter> selectByFictionId(String fictionId);

    List<Integer> removeDuplicates(List<String> chapterTitle, List<FictionChapter> fictionChapters);

    int setFictionChapterUp(FictionChapter fictionChapter);
}
